home *** CD-ROM | disk | FTP | other *** search
- Path: sfov1.verifone.com!nntp
- Newsgroups: comp.lang.c++
- Subject: On Exception handling.....from a newbie
- Message-ID: <1996Jan15.013336.4730@sfov1.verifone.com>
- From: khemani_p1@hnlv4.verifone.com
- Date: Sun, 14 Jan 96 13:34:41 GMT
- Organization: VeriFone Inc.
- Keywords: exception,try,catch
- Nntp-Posting-Host: hnlv4.verifone.com
-
-
-
-
- I want to know how do I retry a try block which has thrown a exception. Is
- there some neat of doing this in C++ ?
-
-
-
- For eg.
-
- try {
- open file;
- read the blocks;
- ...
- } catch (OpenFileException e)
- {
- retry (how?)
- }
- catch (ReadFileException e)
- {
- close file;
- retry (?)
- }
-
-
-
- Please send the reply to khemani_p1@verifone.com
-
- Khemani
-